//下拉框改变的时候重载AQL表
function testReload2(sampleKey, checkScenarioName) {
    layui.use('table', function () {
        var table = layui.table;
        var $ = layui.$, active = {
            reload: function () {
                //执行重载
                table.reload('testReload2', {
                    where: {
                        sampleKey: sampleKey,
                        checkScenarioName: checkScenarioName,
                        sku: sku,
                        receiptKey: receiptKey
                    }
                }, 'data');
            }
        };
        var type = "reload";
        active[type] ? active[type].call(this) : '';
    })
}


// 无条件重载AQL表数据
function testReload4() {
    layui.use('table', function () {
        var table = layui.table;
        var $ = layui.$, active = {
            reload: function () {
                //执行重载
                table.reload('testReload2', {}, 'data');
            }
        };
        var type = "reload";
        active[type] ? active[type].call(this) : '';
    })
}